In ASP.NET Core how check if request is local

105

In ASP.NET Core how check if request is local -

if (Request.Host.Host == "localhost") 
{
  // do something 
}

Comments

Submit
0 Comments